---
title: Button on right
layout: page
js: examples/button-on-right.js
css: example.css
---

<p id="nav">
    <a href="/examples/11_right-to-left">&laquo; Example 11</a>
</p>

<h1>Example 12 - button on right</h1>

<p>
    You can put the toggle button on the right by setting the <strong>buttonLeft</strong> option to <strong>false</strong>.
</p>

<div id="tree1" class="block-style" data-url="/example_data/"></div>

<h3>javascript</h3>

{% highlight js %}
$('#tree1').tree({
    buttonLeft: false,
    autoOpen: 0
});
{% endhighlight %}
